Software Development with Object-Z, CSP, and Java: A Pragmatic Link from Formal Specifications to Programs

نویسنده

  • Clemens Fischer
چکیده

Object-Z and CSP are high level specification languages which offer powerful formal support for the design of distributed, communicating systems. Java is an ideal implementation language for such systems. But developing provably correct Java implementations from these specifications is notoriously difficult. To bridge this gap we suggest to use Jass, which extends Java with assertions, as an intermediate language. These assertions can be generated automatically from Object-Z and CSP specifications. This does not guarantee a provably correct implementation, but allows an easy way of testing and linking error messages directly to the formal specification.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

From CSP-OZ to Java with Processes

The language CSP-OZ has been proposed as a combination of CSP and Object-Z to define state and communication aspects of concurrent systems. In this paper we present rules that support a transformational approach to the development of concurrent Java programs from CSP-OZ specifications. Even though Java is very successful, its facilities for communication are very restricted and we make use of a...

متن کامل

Automatic Translation from Combined B and CSP Specification to Java Programs

A recent contribution to the formal specification and verification of concurrent systems is the integration of the stateand event-based approaches B and CSP, specifically in the ProB model checking tool. At the implementation end of the development, concurrent programming in Java remains a demanding and error-prone activity, because of the need to verify critical properties of safety and livene...

متن کامل

Mapping Formal Specifications to Java Contracts∗

In no other technology sector faults are accepted to an extent comparable with software development. The reason seems to be that software systems are growing faster, and programming languages and development environments are developing faster than verification methods for software are evolving. The question of software correctness can only be answered if we know the specification, the descripti...

متن کامل

Combination and implementation of processes and data: from CSP-OZ to Java

Today we rely on computers in more and more aspects of life. They are not only used in huge companies and systems like insurance companies, banks or power plants, but also in every day items like cars or mobile phones. The complexity of these systems is increasing steadily because more and more functionality can be put onto a single chip and many systems are connected via networks like the Inte...

متن کامل

Linking CSP-OZ with UML and Java: A Case Study

We describe how CSP-OZ, an integrated formal method combining the process algebra CSP with the specification language Object-Z, can be linked to standard software engineering languages, viz. UML and Java. Our aim is to generate a significant part of the CSP-OZ specification from an initially developed UML model using a UML profile for CSP-OZ, and afterwards transform the formal specification in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999